<template>
	<view class="card flexC-Cen">
		<view class="card-name flexR-FS-C">{{title}}</view>
		<slot></slot>
	</view>
</template>

<script>
	export default {
		props: {
			title: {
				type: String,
				default: ""
			}
		},
		data() {
			return {
			}
		},
	}
</script>

<style lang="scss" scoped>
	.card {
		width: 690rpx;
		background: #FFFFFF;
		border-radius: 12rpx;
		padding: 0 30rpx;
		margin-bottom: 20rpx;
		box-sizing: border-box;
		.card-name {
			width: 100%;
			margin: 20rpx 0;
			font-size: 36rpx;
			font-weight: 500;
			color: #333333;
		}
	
		.card-content {
			width: 100%;
			margin-top: 24rpx;
		}
	}
</style>
